﻿CREATE PROCEDURE [dbo].[magazines_update]
    @name nvarchar(max) = null,
    @magazineId int = 0
AS
    UPDATE Magazine SET
        Magazine.Name = @name
    WHERE Magazine.MagazineId = @magazineId
RETURN 0
